package com.yxinsur.imc.business.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxinsur.imc.business.domain.ImcSupplierPersistencyDetail;
import com.yxinsur.imc.business.form.ImcSupplierPersistencyDetailForm;
import com.yxinsur.imc.business.vo.SupplierPersistencyDetailVo;

/**
 * 供应商继续率子Service接口
 *
 * @author imc
 * @date 2021-09-23
 */
public interface IImcSupplierPersistencyDetailService extends IService<ImcSupplierPersistencyDetail> {
    /**
     * 查询供应商继续率子
     *
     * @param id 供应商继续率子ID
     * @return 供应商继续率子
     */
    public ImcSupplierPersistencyDetail selectImcSupplierPersistencyDetailById(String id);

    /**
     * 查询供应商继续率子列表
     *
     * @param imcSupplierPersistencyDetail 供应商继续率子
     * @return 供应商继续率子集合
     */
    public List<ImcSupplierPersistencyDetail> selectImcSupplierPersistencyDetailList(ImcSupplierPersistencyDetailForm imcSupplierPersistencyDetail);

    /**
     * 新增供应商继续率子
     *
     * @param imcSupplierPersistencyDetail 供应商继续率子
     * @return 结果
     */
    public int insertImcSupplierPersistencyDetail(ImcSupplierPersistencyDetail imcSupplierPersistencyDetail);

    /**
     * 修改供应商继续率子
     *
     * @param imcSupplierPersistencyDetail 供应商继续率子
     * @return 结果
     */
    public int updateImcSupplierPersistencyDetail(ImcSupplierPersistencyDetailForm imcSupplierPersistencyDetail);

    /**
     * 批量删除供应商继续率子
     *
     * @param ids 需要删除的供应商继续率子ID
     * @return 结果
     */
    public int deleteImcSupplierPersistencyDetailByIds(String[] ids);

    /**
     * 删除供应商继续率子信息
     *
     * @param id 供应商继续率子ID
     * @return 结果
     */
    public int deleteImcSupplierPersistencyDetailById(String id);

    List<SupplierPersistencyDetailVo> selectDetailByPersistency(ImcSupplierPersistencyDetailForm imcSupplierPersistencyDetail);
}
